﻿<Grid x:Class="Kiva7.RatingReminders.ConfirmationBox"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:Kiva7.Controls" Margin="0" Height="400">
    <Grid Background="{StaticResource PhoneChromeBrush}" 
          HorizontalAlignment="Stretch" 
          VerticalAlignment="Top" 
          Controls:TiltEffect.IsTiltEnabled="True">
        <StackPanel Margin="12,12,12,18">
            <StackPanel Style="{StaticResource KivaPanelTextLargeStyle}" >
            <TextBlock x:Name="TitleTextBlock" TextWrapping="Wrap" 
                       Style="{StaticResource KivaTextLargeStyle}" 
                       FontFamily="{StaticResource PhoneFontFamilySemiBold}" />
            </StackPanel>
            
            <TextBlock x:Name="MessageTextBlock" TextWrapping="Wrap" 
                       Margin="12,24,12,24" HorizontalAlignment="Left"
                       Style="{StaticResource KivaTextNormalStyle}"/>
            
            <Grid HorizontalAlignment="Stretch" Margin="0,6,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100"/>
                    <ColumnDefinition Width="100"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <Button x:Name="YesButton" Click="YesButtonClick"
                        Style="{StaticResource KivaButtonStyle}">
                    <TextBlock Text="{Binding L.Yes, Source={StaticResource L}}"  
                               Style="{StaticResource KivaTextNormalStyle}"/>
                </Button>
                <Button x:Name="NoButton" Grid.Column="1" Click="NoButtonClick"
                        Style="{StaticResource KivaButtonStyle}">
                    <TextBlock Text="{Binding L.No, Source={StaticResource L}}"  
                               Style="{StaticResource KivaTextNormalStyle}"/>
                </Button>
                <Button x:Name="RemindButton" Grid.Column="2" Click="RemindButtonClick"
                        Style="{StaticResource KivaButtonStyle}">
                    <TextBlock Text="{Binding L.RemindMeLater, Source={StaticResource L}}"  TextWrapping="Wrap"
                               Style="{StaticResource KivaTextNormalStyle}"/>
                </Button>
            </Grid>
        </StackPanel>
    </Grid>
    <Grid.Background>
        <SolidColorBrush Color="{StaticResource PhoneBackgroundColor}" Opacity=".6"/>
    </Grid.Background>
</Grid>
